package com.lzy.shops.service;

import com.lzy.shops.bean.Order;
import com.lzy.shops.bean.Search;
import com.lzy.shops.vo.OrderVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;
import java.util.List;

public interface OrderService {
    public Boolean AddOrders(String userId, String ids, Date time,String payment_type,String orderId,String info,Integer money);
    public List<OrderVo> findByUserOrder(Integer userid);
    public Integer findByUserOrderNums(Integer userId);
    public Integer delOrder(Integer userId,String orderId);
    public Boolean AddOrder(String userId,String info,Integer money,String paymentTypem,String orderId);
    public List<OrderVo> findAllOrder(Search search);
    public Integer findAllOrderNums();
}
